package entitys;

public class Session {
	private static  String  ip="localhost";

	private static  int  port=-1;
	private static  String  dbUsr=null;
	private static  String  dbPwd=null;
	private static  Employee  employee=null;
	
	synchronized public static String getIp() {
		return ip;
	}
	synchronized public static void setIp(String ip) {
		Session.ip = ip;
	}
	synchronized public static Employee getEmployee() {
		return employee;
	}
	synchronized public static void setEmployee(Employee employee) {
		Session.employee = employee;
	}
	
	synchronized public static int getPort() {
		return port;
	}
	synchronized public static void setPort(int port) {
		Session.port = port;
	}
	synchronized public static String getDbPwd() {
		return dbPwd;
	}
	synchronized public static void setDbPwd(String dbPwd) {
		Session.dbPwd = dbPwd;
	}
	synchronized public static String getDbUsr() {
		return dbUsr;
	}
	synchronized public static void setDbUsr(String dbUsr) {
		Session.dbUsr = dbUsr;
	}
} 
